using System;

namespace VPSoftTestApplication.DAL
{

    public abstract class AbstractDatabaseFactory
    {

        private String _connectionString;

        protected AbstractInventoryControler inventoryControler;
        protected AbstractDocumentHeaderControler documentHeaderControler;

        public String ConnectionString
        {
            get
            {
                return _connectionString;
            }
            set
            {
                _connectionString = value;
                inventoryControler = null;
                documentHeaderControler = null;
            }
        }

        public abstract AbstractInventoryControler InventoryControler
        {
            get;
        }

        public abstract AbstractDocumentHeaderControler DocumentHeaderControler
        {
            get;
        }
    }
}